home *** CD-ROM | disk | FTP | other *** search
- .TH CON2
- 6 "IRIT Version 6.0"
- .SH NAME
- CON2
-
-
-
- PolygonType CON2( VectorType Center, VectorType Direction,
- NumericType Radius1, NumericType Radius2 )
-
- Creates a truncated CONE geometric object, defined by Center as the
- center of the main base of the CONE, Direction as both the CONE's axis
- and the length of CONE, and the two radii Radius1/2 of the two bases of
- the CONE.
-
- Unlike the regular cone (CONE) constructor which has inherited
- discontinuities in its generated normals at the apex, CON2 can be used to
- form a (truncated) cone with continuous normals.
- See RESOLUTION for the accuracy of the CON2 approximation as a polygonal
- model.
-
- Example:
-
- Cone2 = CON2( vector( 0, 0, -1 ), vector( 0, 0, 4 ), 2, 1 );
-
- constructs a truncated cone with bases parallel to the XY plane at
- Z = -1 and Z = 3, and with radii of 2 and 1 respectively.
-